package com.lswms.modules.lswms.dto.stock;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 属性
 *
 * @author DX sunlightcs@gmail.com
 * @since 1.0.0 2021-06-14
 */
@Data
@ApiModel(value = "属性")
public class TradeDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "序号")
	private Long id;

	@ApiModelProperty(value = "交易号")
	private String tradekey;

	@ApiModelProperty(value = "交易类型")
	private String tradetype;

	@ApiModelProperty(value = "商品")
	private String sku;

	@ApiModelProperty(value = "数量")
	private BigDecimal qty;

	@ApiModelProperty(value = "来源单类型")
	private String sourcetype;

	@ApiModelProperty(value = "来源单号")
	private String sourcekey;

	@ApiModelProperty(value = "来源单行号")
	private Integer sourceline;

	@ApiModelProperty(value = "来源单记录行号")
	private Integer sourcelinelist;

	@ApiModelProperty(value = "自库位")
	private String fromlocation;

	@ApiModelProperty(value = "至库位")
	private String tolocation;

	@ApiModelProperty(value = "自托盘")
	private String fromtray;

	@ApiModelProperty(value = "至托盘")
	private String totray;

	@ApiModelProperty(value = "自箱")
	private String frombox;

	@ApiModelProperty(value = "至箱")
	private String tobox;

	@ApiModelProperty(value = "自批")
	private String fromlot;

	@ApiModelProperty(value = "至批")
	private String tolot;
	
	@ApiModelProperty(value = "自生产日期")
	private Date fromlot1;

	@ApiModelProperty(value = "自有效日期")
	private Date fromlot2;

	@ApiModelProperty(value = "自属性3")
	private String fromlot3;

	@ApiModelProperty(value = "自属性4")
	private String fromlot4;

	@ApiModelProperty(value = "自属性5")
	private String fromlot5;

	@ApiModelProperty(value = "自属性6")
	private String fromlot6;

	@ApiModelProperty(value = "自属性7")
	private String fromlot7;

	@ApiModelProperty(value = "自属性8")
	private String fromlot8;

	@ApiModelProperty(value = "自属性9")
	private String fromlot9;

	@ApiModelProperty(value = "自属性10")
	private String fromlot10;

	@ApiModelProperty(value = "至生产日期")
	private Date tolot1;

	@ApiModelProperty(value = "至有效日期")
	private Date tolot2;

	@ApiModelProperty(value = "至属性3")
	private String tolot3;

	@ApiModelProperty(value = "至属性4")
	private String tolot4;

	@ApiModelProperty(value = "至属性5")
	private String tolot5;

	@ApiModelProperty(value = "至属性6")
	private String tolot6;

	@ApiModelProperty(value = "至属性7")
	private String tolot7;

	@ApiModelProperty(value = "至属性8")
	private String tolot8;

	@ApiModelProperty(value = "至属性9")
	private String tolot9;

	@ApiModelProperty(value = "至属性10")
	private String tolot10;

	@ApiModelProperty(value = "状态")
	private Integer status;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "创建人")
    private String adduser;

    @ApiModelProperty(value = "创建时间")
    private Date addtime;

    @ApiModelProperty(value = "更新人")
    private String updatuser;

    @ApiModelProperty(value = "更新时间")
    private Date updatetime;

}